Skip to content

NATIVE BUILD IMPROVEMENT - #616

Merged
NeptuneHub merged 4 commits into
mainfrom
devel
Jun 8, 2026
Merged

NATIVE BUILD IMPROVEMENT#616
NeptuneHub merged 4 commits into
mainfrom
devel

Conversation

@NeptuneHub

@NeptuneHub NeptuneHub commented Jun 8, 2026

Copy link
Copy Markdown
Owner

This PR is a code refactor on the different Native Build to avoid code repetition and unify the logic.

PR test builds:

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request consolidates the standalone macOS, Linux, and Windows build pipelines into a single parameterized PyInstaller specification (AudioMuse-AI.spec) and a Python-based orchestrator (scripts/standalone/build.py), replacing the previous platform-specific shell scripts and spec files. The review feedback highlights several robust improvements: expanding the Windows preparation step to verify all required PostgreSQL contrib files, preserving symbolic links during the pgserver tree copy to prevent library duplication on Linux, conditionally applying Windows-only creationflags in subprocess.run to avoid runtime errors on other platforms, and safely handling empty glob results when locating packaged files to prevent index errors.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread scripts/standalone/platforms/windows.py
Comment thread scripts/standalone/platforms/_pgserver.py Outdated
Comment thread scripts/standalone/platforms/_pgserver.py
Comment thread scripts/standalone/platforms/linux.py Outdated
@NeptuneHub
NeptuneHub merged commit fdf3be9 into main Jun 8, 2026
8 of 18 checks passed
@NeptuneHub
NeptuneHub deleted the devel branch June 8, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant